﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Order.aspx.cs" Inherits="Weixin.Web.Order" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"" />
    <title>中国税务咨询师</title>
    <link rel="stylesheet" href="Styles/jquery.mobile-1.3.2.min.css" />
    <script type="text/javascript" src="Scripts/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="Scripts/jquery.mobile-1.3.2.min.js"></script>
    <link rel="stylesheet" href="Styles/css.css" />
    <script type="text/javascript">
        function Chk() {
            $(".err").each(function () {
                $(this).removeClass("err");
            })

            if ($("#txtDetail").val() == "") {
                $("#txtDetail").addClass("err");
                return false;
            }
            if ($("#txtName").val() == "") {
                $("#txtName").addClass("err");
                return false;
            }
            if ($("#txtMobile").val() == "") {
                $("#txtMobile").addClass("err");
                return false;
            }
            if ($("#txtEmail").val() == "") {
                $("#txtEmail").addClass("err");
                return false;
            }
            if ($("#txtCompany").val() == "") {
                $("#txtCompany").addClass("err");
                return false;
            }

            return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server" action="?act=save">
    <div data-role="page">
        <div class="content" data-role="content">
            <div>
                <span class="hotline">咨询热线:400-677-1077</span><img src="images/logo.jpg" />
            </div>
            <div class="sep"></div>
            <h3>
                订制课程</h3>
            <div class="nav"><a href="###">中国税务咨询师</a></div>
            <p>
            <label for="txtDetail">课程描述：</label>
            <textarea name="txtDetail" id="txtDetail" placeholder="请尽可能详细描述您需求"></textarea>
            <label for="txtName">姓名：</label>
            <input type="text" placeholder="请输入姓名" name="txtName" id="txtName">
            <label for="txtMobile">手机：</label>
            <input type="text" placeholder="请输入手机号" name="txtMobile" id="txtMobile">
            <label for="txtEmail">邮箱：</label>
            <input type="text" placeholder="请输入邮箱地址" name="txtEmail" id="txtEmail">
            <label for="txtAddress">地址：</label>
            <input type="text" placeholder="请输入您的地址" name="txtAddress" id="txtAddress">
            <button data-theme="b" onclick="return Chk();">提交</button>
            </p>
        </div>
    </div>
    </form>
</body>
</html>
